/*
 * @Author: yuki
 * @Date: 2025-11-04 13:32:58
 * @LastEditTime: 2025-11-04 13:36:04
 * @Description: 文件的作用
 */
import { useRoutes } from 'react-router-dom';

import routes from './route';

export type * from './types';

export { routes };

const Route = () => {
  const route = useRoutes(routes);
  return route;
};

export default Route;
